package com.wxg.util;

public class Res {
    public static String root(String resPath) {
        return Res.class.getClassLoader().getResource(resPath).getPath();
    }

    public static void main(String[] args) {
        System.out.println(Res.root("pride-and-prejudice.txt"));
    }
}
